package hcn.mch.response;

import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @description: 查询妇幼建档信息
 * @author: zangsf
 * @create: 2022-07-15 16:25
 **/
@ToString
@XmlRootElement(name = "Data")
public class GravidityListVO {


    private List<FindInspectionRecords> records;

    @XmlElementWrapper(name = "Records")
    @XmlElement(name = "Record")
    public List<FindInspectionRecords> getRecords() {
        return records;
    }

    public void setRecords(List<FindInspectionRecords> records) {
        this.records = records;
    }

    @ToString
    public static class FindInspectionRecords {
        /**
         * 医疗机构组织机构代码
         */
        private String localOrgId;

        /**
         * 产检id/体检id
         */
        private String prenatalId;

        /**
         * 产检/体检日期
         */
        private String prenatalDate;

        /**
         * 产检/体检名称
         */
        private String prenatalName;

        /**
         * 是否高危标志
         */
        private String highRiskFlag;

        @XmlElement(name = "VisitOrganization")
        public String getLocalOrgId() {
            return localOrgId;
        }

        public void setLocalOrgId(String localOrgId) {
            this.localOrgId = localOrgId;
        }

        @XmlElement(name = "PrenatalId")
        public String getPrenatalId() {
            return prenatalId;
        }

        public void setPrenatalId(String prenatalId) {
            this.prenatalId = prenatalId;
        }

        @XmlElement(name = "PrenatalDate")
        public String getPrenatalDate() {
            return prenatalDate;
        }

        public void setPrenatalDate(String prenatalDate) {
            this.prenatalDate = prenatalDate;
        }

        @XmlElement(name = "PrenatalName")
        public String getPrenatalName() {
            return prenatalName;
        }

        public void setPrenatalName(String prenatalName) {
            this.prenatalName = prenatalName;
        }

        @XmlElement(name = "HighRiskFlag")
        public String getHighRiskFlag() {
            return highRiskFlag;
        }

        public void setHighRiskFlag(String highRiskFlag) {
            this.highRiskFlag = highRiskFlag;
        }
    }
}
